package com.atguigu.advanced.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * t_emp全称为table_employee
 * 类名Employee就是数据库表名t_emp下划线后面emp的全称
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    /**
     * emp_id
     */
    private Integer empId;
    /**
     * emp_name
     */
    private String empName;
    /**
     * emp_salary
     */
    private Double empSalary;
    /**
     * emp_age
     */
    private Integer empAge;
}
